﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PR_BonusCommandDtls.aspx.cs" Inherits="KPIS.GERP.GHRMS.APP.App_UI.Forms.PR_BonusCommandDtls" %>

<%@ Register src="../Controls/MasterYear.ascx" tagname="MasterYear" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>การได้รับเงินรางวัล/บัญชีแนบท้ายคำสั่ง</title>


    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
<script type="text/javascript">   

          function isNumberKey(event)  // ตัวเลขอย่างเดียว
          {
             var charCode = (event.which) ? event.which : event.keyCode
             if(charCode > 31 && (charCode < 48 || charCode > 57)){
//                 alert("กรอกได้แต่ตัวเลขครับ!")
                 return false;
	          }
             return true;
          }
          function isNumberKeyDot(event)  // ตัวเลขทศนิยม
          {
             var charCode = (event.which) ? event.which : event.keyCode
             if(charCode > 31 && (charCode < 48 || charCode > 57) && charCode != 46){
             //    alert("กรอกได้แต่ตัวเลขทศนิยมครับ!")
                 return false;
             return true;
          }
</script>

    </head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
  <link href="../../Styles/CssClass.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../Scripts/DatePicker.js">
        
    </script>
<script type="text/javascript">   

          function isNumberKeyDot(event)  // ตัวเลขทศนิยม
          {
             var charCode = (event.which) ? event.which : event.keyCode
             if(charCode > 31 && (charCode < 48 || charCode > 57) && charCode != 46){
             //    alert("กรอกได้แต่ตัวเลขทศนิยมครับ!")
                 return false;
	          }
             return true;
          }
          function isNumberKey(event)  // ตัวเลขอย่างเดียว
          {
             var charCode = (event.which) ? event.which : event.keyCode
             if(charCode > 31 && (charCode < 48 || charCode > 57)){
//                 alert("กรอกได้แต่ตัวเลขครับ!")
                 return false;
	          }
             return true;
          }
           function onTextChange(sender) {
                    if (sender.get_value() == "") {
                        sender.set_text("");
                    }
          } 
            function openProjectDetails(id)
            {
                radopen("PR_SalaryDetail.aspx?id=" + id , "ProjectDtls");
                 return false;

                //maximunWindow();
            }
            function openWin()
            {
                var oWnd = radopen("DialogEmp.aspx", "RadWindow1");
            }
</script>
      
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ddlEmployeeType">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lblTypeYear" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ddlEmployeeType">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ddlYear" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
             <telerik:AjaxSetting AjaxControlID="ddlEmployeeType">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rdoAppraisal" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ddlEmployeeType">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lblMsg" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ddlYear">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rdoAppraisal" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            
            <telerik:AjaxSetting AjaxControlID="ddlYear">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lblMsg" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
                    
            <telerik:AjaxSetting AjaxControlID="RadGrid3">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid3" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
           
            <telerik:AjaxSetting AjaxControlID="btnSearch">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid3" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid4">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid4" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid4" 
                        LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            
        </AjaxSettings>
    </telerik:RadAjaxManager>

       <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server">
    </telerik:RadAjaxLoadingPanel>
    
    
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
<Windows>
    <telerik:RadWindow 
        id="ProjectDtls" 
        runat="server"
        showcontentduringload="false"
        VisibleStatusbar="false"
        title="--"
        width="1100px"
        Height="600px"        
        Modal="true"
        behaviors="Close">
    </telerik:RadWindow>
</Windows>

        <Windows>
            <telerik:RadWindow 
                ID="RadWindow1"  
                DestroyOnClose = "true"               
                Modal ="true"                
                VisibleStatusbar ="false"
                runat="server">
            </telerik:RadWindow>
        </Windows>


</telerik:RadWindowManager>

        <asp:Label ID="lblID" runat="server" Visible="False"></asp:Label>

    <link href="../../Styles/CssClass.css" rel="stylesheet" type="text/css" /> 
    
    
            <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1"
                SelectedIndex="0" CausesValidation="False" 
            Skin="Office2007">
                <Tabs>
                    <telerik:RadTab Text="การได้รับเงินรางวัล" Selected="True" Width="200px">
                    </telerik:RadTab>
                    <telerik:RadTab Text="การได้รับเงินรางวัล(ต่อ)" Width="200px">
                    </telerik:RadTab>
                    <telerik:RadTab Text="บัญชีแนบท้ายคำสั่ง" Width="200px">
                    </telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>
            
            <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" >
            
            
            
                <telerik:RadPageView ID="RadPageView1" runat="server"><div class="moduleDivSlim1000"><div class="moduleDivBottom1000"><table align="center" width ="980px" ><tr><td align="left" class="tableHeader">ค้นหาข้อมูล</td></tr></table><table align="center" width ="980px" ><tr><td width="10%">ประเภทบุคลากร :</td><td align="left" width="25%">&#160;<telerik:RadComboBox ID="ddlEmployeeType" runat="server" AllowCustomText="true" 
                                AutoPostBack="True" CausesValidation="false" DataTextField="Name" 
                                DataValueField="Sequence" EmptyMessage="... เลือกประเภทบุคลากร ..." 
                                Filter="Contains" OnClientTextChange="onTextChange" 
                                onselectedindexchanged="ddlEmployeeType_SelectedIndexChanged" Width="200px"></telerik:RadComboBox><asp:RequiredFieldValidator ID="v7" runat="server" 
                            ControlToValidate="ddlEmployeeType" ErrorMessage="*"></asp:RequiredFieldValidator></td><td align="right" width="5%">ปี : </td><td width="15%"><asp:Label ID="lblTypeYear" runat="server" BorderStyle="None"></asp:Label></td><td width="10%"><telerik:RadComboBox ID="ddlYear" runat="server" AllowCustomText="true" 
                        CausesValidation="false" DataTextField="Name" 
                            DataValueField="Name" EmptyMessage="...เลือกปี ..." Filter="Contains" 
                            OnClientTextChange="onTextChange" Width="100px"></telerik:RadComboBox></td><td width="5%"><asp:RequiredFieldValidator ID="v9" runat="server" ControlToValidate="ddlYear" 
                            ErrorMessage="*"></asp:RequiredFieldValidator></td><td align="left" width="30%"><asp:Button ID="btnSearch" runat="server" onclick="btnSearch_Click" 
                            Text="ค้นหา" Width="80px" /></td></tr><tr><td>&nbsp;</td><td align="left" colspan="4">&nbsp;</td><td></td><td>&nbsp;</td></tr></table></div></div><div class="moduleDivSlim1000"><div class="moduleDivBottom1000"><table width ="980px" ><tr><td>เลือกเงือนไข</td></tr><tr><td ><asp:Panel ID="PanelCondition" 
            runat="server" 
            Width="980px" 
            Height="250px" ScrollBars="Auto" ><telerik:RadGrid ID="RadGrid3" runat="server" AllowAutomaticDeletes="True" 
                    AllowFilteringByColumn="True" AllowMultiRowEdit="True" 
                    AllowMultiRowSelection="True" 
                    AllowSorting="True" AutoGenerateColumns="False" EnableAJAX="True" 
                    EnableAJAXLoadingTemplate="True" GridLines="None" 
                    Skin="Outlook" Width="960" onitemdatabound="RadGrid3_ItemDataBound" 
                            onitemcommand="RadGrid3_ItemCommand"><MasterTableView AllowMultiColumnSorting="True" CellSpacing="-1" 
                        ClientDataKeyNames="class_seq" DataKeyNames="class_seq" 
                        InsertItemPageIndexAction="ShowItemOnCurrentPage" 
                        NoMasterRecordsText="&lt; ไม่มีข้อมูล &gt;"><CommandItemTemplate><table width="100%"><tr><td></td><td align="right"></td></tr></table></CommandItemTemplate><RowIndicatorColumn><HeaderStyle Width="20px" /></RowIndicatorColumn><ExpandCollapseColumn Visible="True"></ExpandCollapseColumn><GroupByExpressions><telerik:GridGroupByExpression><GroupByFields><telerik:GridGroupByField 
                                        FieldName="pos_type_name" 
                                        HeaderText="ตำแหน่ง" /></GroupByFields><SelectFields><telerik:GridGroupByField 
                                        FieldName="pos_type_name" 
                                        HeaderText="ตำแหน่ง : " 
                                        HeaderValueSeparator = " " /></SelectFields></telerik:GridGroupByExpression></GroupByExpressions>
                                        
                            <Columns><telerik:GridTemplateColumn 
                                ShowFilterIcon="false" 
                                AllowFiltering="false" >
                                <ItemTemplate>
                                <asp:CheckBox ID="cbClass" runat="server" /> <%# Eval("class_name") %>
                                </ItemTemplate>
                                <HeaderStyle HorizontalAlign="Center" Width="95%" />
                                <ItemStyle Width="95%" />
                                </telerik:GridTemplateColumn>
                             </Columns>
                                
                                
                                <EditFormSettings EditFormType="WebUserControl" ><EditColumn UniqueName="EditCommandColumn1"></EditColumn></EditFormSettings><PagerStyle Mode="NextPrevNumericAndAdvanced" /></MasterTableView><ClientSettings AllowColumnHide="True" AllowColumnsReorder="True" 
                        EnableRowHoverStyle="True" ReorderColumnsOnClient="True"><Selecting AllowRowSelect="True" EnableDragToSelectRows="true" /></ClientSettings></telerik:RadGrid></asp:Panel></td></tr><tr><td width="100%" align="right"><br /><asp:Button ID="btnFilter" runat="server" Text="หน้าถัดไป" 
                            onclick="btnFilter_Click" /></td></tr></table></div></div></telerik:RadPageView>
                 
                
                <telerik:RadPageView ID="RadPageView2" runat="server"><div class="moduleDivSlim1000"><div class="moduleDivBottom1000"><table align="center" width ="980px" ><tr><td align="left" class="tableHeader">รายชื่อบุคลากร</td></tr></table><table width ="980px" ><tr><td ><asp:Panel ID="Panel2" 
            runat="server" 
            Width="980px" 
            Height="350px" ScrollBars="Auto" ><telerik:RadGrid 
            ID="RadGrid4" 
            runat="server" 
            AllowAutomaticDeletes="True" 
            AllowFilteringByColumn="True" 
            AllowMultiRowEdit="True" 
            AllowMultiRowSelection="True" 
            AllowPaging="True" 
            AllowSorting="True" 
            AutoGenerateColumns="False" 
            EnableAJAX="True" 
            EnableAJAXLoadingTemplate="True" 
            GridLines="None"      
            PageSize = "100"        
            Width = "978" Skin="Outlook" onitemdatabound="RadGrid4_ItemDataBound" 
                        onitemcommand="RadGrid4_ItemCommand"><MasterTableView 
                AllowMultiColumnSorting="True" 
                AllowFilteringByColumn="True"                
                CellSpacing="-1" 
                ClientDataKeyNames="Sequence"                 
                DataKeyNames="Sequence" 
                GroupLoadMode ="Server"                
                InsertItemPageIndexAction="ShowItemOnCurrentPage" 
                NoMasterRecordsText="&lt; ไม่มีข้อมูล &gt;"><CommandItemTemplate><table width="100%"><tr><td></td></tr></table></CommandItemTemplate><Columns><telerik:GridTemplateColumn  AllowFiltering="false"><ItemTemplate><asp:CheckBox ID="cb4" runat="server" /></ItemTemplate><HeaderStyle HorizontalAlign="Center" Width="20" /></telerik:GridTemplateColumn><telerik:GridBoundColumn 
                    DataField="duplicated" 
                    DataType="System.Int32" 
                    HeaderText="Sequence" 
                    UniqueName="duplicated"   
                    Visible="False"></telerik:GridBoundColumn><telerik:GridTemplateColumn
                            HeaderText = "ชื่อ-สกุล"
                            DataField = "emp_name"
                            FilterControlWidth = "100%"
                            AutoPostBackOnFilter="true" 
                            CurrentFilterFunction="Contains" 
                            ShowFilterIcon="False"><ItemTemplate><%# Eval("emp_name")%> &nbsp;</ItemTemplate><HeaderStyle HorizontalAlign="Center"/></telerik:GridTemplateColumn>
                            <telerik:GridBoundColumn 
                            DataField="job_site_name" 
                            HeaderText="สังกัด" 
                            UniqueName="job_site_name" 
                            FilterControlWidth="100%"
                            AutoPostBackOnFilter="true" 
                            CurrentFilterFunction="Contains" 
                            ShowFilterIcon="False"><HeaderStyle Width = "100px" HorizontalAlign="Center" /><ItemStyle HorizontalAlign = "Left" /></telerik:GridBoundColumn><telerik:GridBoundColumn 
                            DataField="pos_name" 
                            HeaderText="ตำแหน่ง" 
                            UniqueName="pos_name" 
                            FilterControlWidth="100%"
                            AutoPostBackOnFilter="true" 
                            CurrentFilterFunction="Contains" 
                            ShowFilterIcon="False"><HeaderStyle Width = "100px" HorizontalAlign="Center" /><ItemStyle HorizontalAlign = "Left" /></telerik:GridBoundColumn><telerik:GridBoundColumn 
                            DataField="pos_ref" 
                            HeaderText="เลขที่ตำแหน่ง" 
                            UniqueName="pos_ref" 
                            FilterControlWidth="100%"
                            AutoPostBackOnFilter="true" 
                            CurrentFilterFunction="Contains" 
                            ShowFilterIcon="False"><HeaderStyle Width = "100px" HorizontalAlign="Center" /><ItemStyle HorizontalAlign = "Center" /></telerik:GridBoundColumn><telerik:GridBoundColumn 
                            DataField="salary" 
                            HeaderText="เงินเดือน" 
                            UniqueName="salary" 
                            FilterControlWidth="100%"
                            AutoPostBackOnFilter="true" 
                            CurrentFilterFunction="Contains" 
                            ShowFilterIcon="False" DataFormatString="{0:#,##0.00}"><HeaderStyle Width = "100px" HorizontalAlign="Center" /><ItemStyle HorizontalAlign = "Right" Wrap="False" /></telerik:GridBoundColumn></Columns><ParentTableRelation><telerik:GridRelationFields DetailKeyField = "Sequence" MasterKeyField = "Sequence" /></ParentTableRelation></MasterTableView><ClientSettings AllowColumnHide="True" AllowColumnsReorder="True" 
                        EnableRowHoverStyle="True" ReorderColumnsOnClient="True"><Selecting AllowRowSelect="True" EnableDragToSelectRows="true" /></ClientSettings></telerik:RadGrid><br /></asp:Panel><br /><table align="center" class="style1"><tr><td align="center">เงินรางวัล :&#160; <telerik:RadTextBox 
                            ID="txtExAmount" Runat="server" MaxLength="9"></telerik:RadTextBox></td></tr><tr><td align="center">หมายเหตุ :&#160; <telerik:RadTextBox 
                                ID="txtRemark" Runat="server" Width="400px" MaxLength="254"></telerik:RadTextBox></td></tr></table><br /><table class="style1"><tr><td align="center"><asp:Button ID="btnSave" runat="server" onclick="btnSave_Click" Text="บันทึก" 
                                    Width="146px" Visible="False" /></td></tr></table></td></tr></table></div></div><br /><br /><br /><br /></telerik:RadPageView>

                
                
                
                <telerik:RadPageView ID="RadPageView3" runat="server"><div class="moduleDivSlim1000"><div class="moduleDivBottom1000"><table width ="980px" ><tr><td>บัญชีรายละเอียด <asp:Label ID="lblCmdName" runat="server" Text="-" ForeColor="Blue"></asp:Label>&#160;&#160;&#160;&#160;&#160; แนบท้ายคำสั่งที่ <asp:Label ID="lblRefNo" runat="server" Text="-" ForeColor="Blue"></asp:Label>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ลงวันที่ <asp:Label ID="lblAppDate" runat="server" Text="-" ForeColor="Blue"></asp:Label></td></tr><tr><td ><asp:Panel ID="PanelDetal" 
            runat="server" 
            Width="980px" 
            Height="350px" ScrollBars="Auto" ><telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True" 
                    AllowFilteringByColumn="True" AllowMultiRowEdit="True" 
                    AllowMultiRowSelection="True" AllowPaging="True" 
                    AllowSorting="True" AutoGenerateColumns="False" EnableAJAX="True" 
                    EnableAJAXLoadingTemplate="True" GridLines="None" 
                    OnItemCommand="RadGrid1_ItemCommand" Skin="Outlook" Width="978px"><MasterTableView AllowMultiColumnSorting="True" CellSpacing="-1" 
                        ClientDataKeyNames="cmd_ext_seq" CommandItemDisplay="Top" DataKeyNames="cmd_ext_seq" 
                        InsertItemPageIndexAction="ShowItemOnCurrentPage" 
                        NoMasterRecordsText="&lt; ไม่มีข้อมูล &gt;"><CommandItemTemplate><table width="100%"><tr><td><asp:LinkButton ID="cmdAddNew" runat="server" CausesValidation="False" 
                                            CommandName="InitInsert" 
                                            Visible="<%# !RadGrid1.MasterTableView.IsItemInserted && RadGrid1.EditIndexes.Count <= 0 %>"> <img alt="" src="../Images/Buttons/AddRecord.gif" 
                                            style="border: 0px; vertical-align: middle;" /> เพิ่มรายชื่อบุคลากร</asp:LinkButton>&#160;&#160; </td><td align="right"></td></tr></table></CommandItemTemplate><RowIndicatorColumn><HeaderStyle Width="20px" /></RowIndicatorColumn><ExpandCollapseColumn Visible="True"></ExpandCollapseColumn><Columns><telerik:GridEditCommandColumn ButtonType="ImageButton"
                                EditText="คลิกเพื่อแก้ไขข้อมูล"><ItemStyle Width="15px" /></telerik:GridEditCommandColumn><telerik:GridButtonColumn ButtonType="ImageButton" 
                            CommandName="Delete" 
                            ConfirmDialogType="RadWindow" 
                            ConfirmText="ลบข้อมูลที่เลือก?" 
                            Text="คลิกเพื่อลบข้อมูล" 
                            UniqueName="column1"><HeaderStyle HorizontalAlign="Center" Width="10px" /><ItemStyle HorizontalAlign="Center" Width="10px" /></telerik:GridButtonColumn><telerik:GridTemplateColumn
                            HeaderText = "ชื่อ-สกุล"
                            DataField = "emp_name"
                            FilterControlWidth = "100%"
                            AutoPostBackOnFilter="true" 
                            CurrentFilterFunction="Contains" 
                            ShowFilterIcon="False"><ItemTemplate><%# Eval("full_name")%> &nbsp;</ItemTemplate><HeaderStyle HorizontalAlign="Center"/></telerik:GridTemplateColumn><telerik:GridBoundColumn 
                            DataField="job_site_name" 
                            HeaderText="สังกัด" 
                            UniqueName="job_site_name" 
                            FilterControlWidth="100%"
                            AutoPostBackOnFilter="true" 
                            CurrentFilterFunction="Contains" 
                            ShowFilterIcon="False"><HeaderStyle Width = "100px" HorizontalAlign="Center" /><ItemStyle HorizontalAlign = "Left" /></telerik:GridBoundColumn><telerik:GridBoundColumn 
                            DataField="pos_name" 
                            HeaderText="ตำแหน่ง" 
                            UniqueName="pos_name" 
                            FilterControlWidth="100%"
                            AutoPostBackOnFilter="true" 
                            CurrentFilterFunction="Contains" 
                            ShowFilterIcon="False"><HeaderStyle Width = "100px" HorizontalAlign="Center" /><ItemStyle HorizontalAlign = "Left" /></telerik:GridBoundColumn><telerik:GridBoundColumn 
                            DataField="salary" 
                            HeaderText="เงินเดือน" 
                            UniqueName="salary" 
                            FilterControlWidth="100%"
                            AutoPostBackOnFilter="true" 
                            CurrentFilterFunction="Contains" 
                            ShowFilterIcon="False" DataFormatString="{0:#,##0.00}"><HeaderStyle Width = "100px" HorizontalAlign="Center" /><ItemStyle HorizontalAlign = "Right" Wrap="False" /></telerik:GridBoundColumn><telerik:GridBoundColumn 
                            DataField="ext_amount" 
                            HeaderText="เงินรางวัล" 
                            UniqueName="ext_amount" 
                            FilterControlWidth="100%"
                            AutoPostBackOnFilter="true" 
                            CurrentFilterFunction="Contains" 
                            ShowFilterIcon="False" DataFormatString="{0:#,##0.00}"><HeaderStyle Width = "100px" HorizontalAlign="Center" /><ItemStyle HorizontalAlign = "Right" Wrap="False" /></telerik:GridBoundColumn></Columns><EditFormSettings EditFormType="WebUserControl" 
                            UserControlName="../UserControls/PR_SalaryBonusCommandDtls.ascx"><EditColumn UniqueName="EditCommandColumn1"></EditColumn></EditFormSettings><PagerStyle Mode="NextPrevNumericAndAdvanced" /></MasterTableView><ClientSettings AllowColumnHide="True" AllowColumnsReorder="True" 
                        EnableRowHoverStyle="True" ReorderColumnsOnClient="True"><Selecting AllowRowSelect="True" EnableDragToSelectRows="true" /></ClientSettings></telerik:RadGrid></asp:Panel></td></tr></table><br /><table class="style1"><tr><td align="center"><asp:Button ID="btnPrint" runat="server" Text="พิมพ์" Width="82px" 
                                    Visible="False" /></td></tr></table><br /></div></div></telerik:RadPageView>
                 
                 
            </telerik:RadMultiPage>
            
    </div>
    </form>
</body>
</html>
